package com.geostar.constructionland.analyse.entity.resulthandler;

/**
 * @author yelll
 * @since 2020-6-8 17:04
 **/
public enum  ResultHandlerCode {
    SUCCESS(200, "SUCCESS"),
    ERROR(400, "ERROR"),
    SPT_ANALYST_ERROR(401,"SPATIA_ANALYST_ERROR"),
    HAVE_OVERLAP_LAND_ERROR(402,"HAVE_OVERLAP_LAND_ERROR");
    private final int code;
    private final String desc;
    ResultHandlerCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public int getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
